
export function useStyle (props: any, styles: Record<string, string | boolean | number | undefined>) {
    const obj = [props.style || ""];
    for (const key in styles) {
        if (styles[key]) {
            obj.push(`${key}: ${styles[key]}`);
        }
    }
    return obj.join(";");
}